home *** CD-ROM | disk | FTP | other *** search
/ Aminet 39 / Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso / Aminet / mus / misc / spcli.lha / SongPlayerCLI / Rexx / SpCLI / First.rexx < prev    next >
OS/2 REXX Batch file  |  2000-08-23  |  439b  |  21 lines

  1. /* 
  2. SongPlayerCLI v1.52 (by Gareth Griffiths)
  3. E-Mail: gazchap@btinternet.com
  4. First.rexx - Moves to the first file in the playlist
  5. */
  6.  
  7. IF ~SHOW('P','SONGPLAYER.1') THEN DO
  8.     ADDRESS COMMAND
  9.     SAY "Can't find ARexx port 'SONGPLAYER.1'"
  10.     EXIT
  11. END
  12.  
  13. ADDRESS 'SONGPLAYER.1'
  14. OPTIONS RESULTS
  15. 'SELECT 1'
  16. 'GET_TITLE';title=result
  17. 'GET_ARTIST';artist=result
  18. 'GET_SELECTED';index=result
  19. ADDRESS COMMAND
  20. SAY 'Current File: ('index') 'artist': 'title
  21. EXIT